<section class="scrollable padder-md" data-ng-controller="AdminAuthResEditController">
    <div class="m-b-md">
        <a href="" class="btn btn-rounded  btn-sm btn-icon btn-default pull-right" data-ng-click="close()">
            <i class="fa fa-reply"></i>
        </a>
        <h3 class="m-b-none text-black">
            <i class="fa fa-edit m-r-sm"></i>
            资源映射配置 - 资源映射 - 编辑
        </h3>
    </div>

    <section class="panel panel-default">
        <div class="panel-body">
            <!--树形图 选择权限-->
            <div class="form-group">
                <label class="col-md-3 control-label">
                    选择权限：
                </label>

                <div class="col-md-9">
                    <div treecontrol class="tree-classic"
                         data-tree-model="dataForTheTree"
                         data-options="treeOptions"
                         data-on-selection="showSelected(node)"
                         data-selected-node="node1"
                         data-expanded-nodes="expandedNodes">
                        <div class="checkbox i-checks"
                             style="position: absolute;top: -8px;left: 1px;padding-top: 0;margin-top: 7px">
                            <label>
                                <input type="checkbox" value="" ng-checked="node.checked" ng-model="node.checked"
                                       ng-click="checkedNode(node)">
                                <i></i>
                            </label>
                        </div>
                        {{node.name}}
                        <span ng-if="node.children">({{node.checkedCount}}/{{node.children.length}})</span>
                    </div>
                </div>
            </div>
            <!-- 按钮 -->
            <div class="form-group text-right" style="margin-left: 15px; margin-right: 15px;">
                <button type="button" class="btn btn-default" data-ng-click="close()">
                    <i class="i i-arrow"></i>
                    &nbsp;返回
                </button>
                <button type="submit" class="btn btn-success" data-ng-click="saveObj()">
                    <i class="fa fa-save"></i>
                    &nbsp;保存
                </button>
            </div>
        </div>
    </section>
</section>
